URIId

 

 

 

When signing respective parts of a XML document, some identification names are added to the document parts (tags) being signed <price-list Id=”somename”>. This parameter allows a user/developer to choose Id names by his choice, e.g. <price-list Id=”coffebrand”>, in this case. Id names are separated by semicolons.

 

This property is also used to enter a value for the attribute Type for the <Reference> element. The value for the attribute Type for the specific URI must follow the value of that URI and must be passed with ## signs.

 

Example:

Sample xml file:

 

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

<document>

    <test Id="test1">abc</test>

    <test Id="test2">abcdefg</test>

    <test Id="test3">hijklm</test>

</document>

 

Value for URIId property:

prop.URIId="test1;##Type1;test2;##Type2;test3;##Type3;";

 

This line would be interpreted as follows (signature will sign selected three nodes with ids test1, test2 and test3):

<ds:Reference Type="Type1" URI="#test1"> …</ds:Reference>

<ds:Reference Type="Type2" URI="#test2">…</ds:Reference>

<ds:Reference Type="Type3" URI="#test3">…</ds:Reference>